package com.dc.project.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TaskDetailQuery
 *
 * @author chenxueli
 * @date 2025-03-08 15:11:52
 */
@Schema(title = "任务详情" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TaskDetailQuery extends BaseQuery implements Serializable {

    @Schema(title = "任务id")
    private Long taskId;

    @Schema(title = "附件id")
    private Long fileId;

    @Schema(title = "附件路径")
    private String filePath;

    @Schema(title = "解析状态 1=未开始 2=文件解析文本成功 3=文件解析文本失败 4=文件内容分析成功 5=文件内容分析失败")
    private Integer status;

    @Schema(title = "解析消息")
    private String parseMessage;

}
